*,
*:before,
*:after {
  box-sizing: border-box;
}

*:before,
*:after {
  content: "";
  display: block;
  position: relative;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
}

.house {
  width: 520px;
  height: 225px;
  position: relative;
}

.house-wings {
  width: 425px;
  height: 125px;
  position: absolute;
  bottom: 0;
  left: calc(50% - 212.5px);
}

.house-wings::before {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #fff;
  border: 5px solid #224889;
  box-shadow: inset 0 15px #e1eaff;
}

.house-wings::after {
  width: 100%;
  height: 5px;
  position: absolute;
  bottom: 0;
  background-color: #224889;
  transform: scaleX(1.2);
}

.house-left-wing,
.house-right-wing {
  height: 100%;
  width: 137.5px;
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.house-left-wing {
  left: 0;
}

.house-right-wing {
  right: 0;
}

.house-window {
  width: 30px;
  height: 60px;
  border: 5px solid #224889;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  background-image: linear-gradient(
    to right,
    #65ebff,
    #65ebff 49.9%,
    #71fbff 50%,
    #71fbff
  );
}

.house-window:before {
  height: 100%;
  width: 5px;
  left: calc(50% - 2.5px);
  top: 0;
  background-color: #224889;
}

.house-window:after {
  height: 15px;
  width: calc(100% + 20px);
  left: -10px;
  bottom: 5px;
  border-radius: 15px;
  background-color: #79aaff;
  border: 5px solid #224889;
  box-shadow: 0 5px #e1eaff;
}

.house-wings > .house-roof {
  width: calc(100% + 40px);
  height: 65px;
  border-bottom: 5px solid #224889;
  position: absolute;
  left: -20px;
  bottom: 100%;
}

.house-wings .house-ledge {
  width: 100%;
  height: 15px;
  border: 5px solid #224889;
  background-color: #79aaff;
  position: absolute;
  bottom: -15px;
}

.house-wings > .house-roof::before,
.house-wings > .house-roof::after {
  position: absolute;
  width: 50%;
  height: 100%;
  border: 5px solid #224889;
  background-color: #a6cfff;
  border-bottom: none;
}

.house-wings > .house-roof::before {
  border-right: none;
  transform-origin: bottom left;
  transform: skewX(-30deg);
}

.house-wings > .house-roof::after {
  right: 0;
  border-left: none;
  transform-origin: bottom right;
  transform: skewX(30deg);
}

.house-front {
  width: 150px;
  height: 160px;
  position: absolute;
  bottom: 0;
  left: calc(50% - 75px);
}

.house-facade {
  width: 100%;
  height: 100%;
  position: absolute;
  box-shadow: 15px 0 rgba(123, 163, 255, 0.2);
}

.house-facade::before,
.house-facade::after {
  position: absolute;
  width: 50%;
  height: 100%;
  background-color: #fff;
  top: 0;
  border-top: 5px solid #224889;
  box-shadow: inset 0 25px #e1eaff;
}

.house-facade::before {
  left: 0;
  border-left: 5px solid #224889;
  transform: skewY(-40deg);
  transform-origin: top left;
}

.house-facade::after {
  right: 0;
  border-right: 5px solid #224889;
  transform: skewY(40deg);
  transform-origin: top right;
}

.house-chimney {
  width: 35px;
  height: 70px;
  background-color: #224889;
  position: absolute;
  left: 15px;
  bottom: 100%;
}

.house-front > .house-window {
  width: 60px;
  height: 55px;
  position: absolute;
  left: calc(50% - 30px);
  top: -10px;
}

.house-doorway {
  width: 65px;
  height: 90px;
  position: absolute;
  bottom: 0;
  left: calc(50% - 32.5px);
}

.house-door {
  width: 50%;
  height: 55px;
  background-color: #224889;
  position: absolute;
  left: 25%;
  bottom: 35px;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.house-stairs {
  width: 100%;
  height: 15px;
  border: 5px solid #224889;
  position: absolute;
  left: 0;
  bottom: 0;
  box-shadow: 5px -5px #e1eaff;
}

.house-stairs:before,
.house-stairs:after {
  box-shadow: 5px -5px #e1eaff;
  position: absolute;
  height: 15px;
  width: 100%;
  border: 5px solid #224889;
}

.house-stairs:before {
  bottom: 100%;
  transform: scaleX(0.9);
  z-index: 0;
}

.house-stairs:after {
  bottom: calc(200% + 5px);
  transform: scaleX(0.75);
  z-index: 0;
}

.house-gable {
  position: absolute;
  bottom: calc(100% - 5px);
  left: 0;
  width: 100%;
  height: 70px;
}

.house-gable > .house-roof {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: scaleY(0.8);
  z-index: 1;
}

.house-front .house-ledge {
  width: 20px;
  height: 20px;
  background-color: #79aaff;
  border: 5px solid #224889;
  transform: rotate(-45deg) translate(5px, -5px);
  position: absolute;
  left: calc(50% - 10px);
}

.house-front .house-ledge:before,
.house-front .house-ledge:after {
  position: absolute;
  width: 120px;
  height: calc(100% + 10px);
  top: -5px;
  background-color: #79aaff;
  border: 5px solid #224889;
}

.house-front .house-ledge:before {
  right: 100%;
  border-right: none;
}

.house-front .house-ledge:after {
  left: 0;
  transform-origin: left bottom;
  transform: rotate(90deg) translate(-5px, 5px);
  border-left: none;
}
